export default (axios, globalConfig={}) => ({
  get: (url, params={}, config={}) => axios.get(url, { ...globalConfig, ...config, params }),
  delete: (url, params={}, config={}) => axios.get(url, { ...globalConfig, ...config, params }),
  post: (url, params={}, config={}) => axios.get(url, params, {...globalConfig, ...config}),
})